home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_urt.idb / usr / freeware / src / urt / patches.z / patches
Text File  |  1999-01-26  |  20KB  |  655 lines

  1. *** ./cnv/rlatorle.c    Thu Apr 30 09:58:33 1992
  2. --- ../urt-3.1b/./cnv/rlatorle.c    Thu Aug 27 15:27:15 1998
  3. ***************
  4. *** 162,168 ****
  5.          }
  6.      VPRINTF(stderr, "Channel color space %s\n", head.rla_head.chan);
  7.      if ( rlb_flag )
  8. !        VPRINTF(stderr, "Interlaced?         %s\n", head.rlb_head.filter_type);
  9.      else
  10.          VPRINTF(stderr, "Interlaced?         %s\n", "-unused-");
  11.      if (do_matte)
  12. --- 162,168 ----
  13.          }
  14.      VPRINTF(stderr, "Channel color space %s\n", head.rla_head.chan);
  15.      if ( rlb_flag )
  16. !        VPRINTF(stderr, "Interlaced?         %hd\n", head.rlb_head.filter_type);
  17.      else
  18.          VPRINTF(stderr, "Interlaced?         %s\n", "-unused-");
  19.      if (do_matte)
  20. *** ./cnv/iristorle.c    Thu Apr 30 09:56:43 1992
  21. --- ../urt-3.1b/./cnv/iristorle.c    Wed Aug 19 16:47:26 1998
  22. ***************
  23. *** 25,31 ****
  24.    *                 Paul Haeberli - 1990
  25.    */
  26.   #include "stdio.h"
  27. ! #include "image.h"
  28.   #include "rle.h"
  29.   
  30.   short rbuf[8192]; 
  31. --- 25,31 ----
  32.    *                 Paul Haeberli - 1990
  33.    */
  34.   #include "stdio.h"
  35. ! #include <gl/image.h>
  36.   #include "rle.h"
  37.   
  38.   short rbuf[8192]; 
  39. *** ./cnv/makefile.src    Mon Dec 11 09:58:05 1995
  40. --- ../urt-3.1b/./cnv/makefile.src    Wed Aug 19 16:49:02 1998
  41. ***************
  42. *** 95,104 ****
  43.   # iristorle/rletoiris - Convert between RLE and SGI image format.
  44.   #
  45.   iristorle.out: iristorle.c
  46. !     $(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
  47.       mv $*.new $@
  48.   rletoiris.out: rletoiris.c
  49. !     $(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
  50.       mv $*.new $@
  51.   #endif
  52.   
  53. --- 95,104 ----
  54.   # iristorle/rletoiris - Convert between RLE and SGI image format.
  55.   #
  56.   iristorle.out: iristorle.c
  57. !     $(CC) $(CFLAGS) $(INCGL) $*.c $(LIBS) $(LIBGL) -o $*.new
  58.       mv $*.new $@
  59.   rletoiris.out: rletoiris.c
  60. !     $(CC) $(CFLAGS) $(INCGL) $*.c $(LIBS) $(LIBGL) -o $*.new
  61.       mv $*.new $@
  62.   #endif
  63.   
  64. *** ./get/getx11/XGetHClrs.c    Thu Apr 30 10:16:23 1992
  65. --- ../urt-3.1b/./get/getx11/XGetHClrs.c    Wed Aug 19 17:31:10 1998
  66. ***************
  67. *** 1,5 ****
  68.   #ifndef XLIBINT_H_NOT_AVAILABLE
  69. ! #include <X11/copyright.h>
  70.   
  71.   /* $XConsortium: XGetHClrs.c,v 11.10 88/09/06 16:07:50 martin Exp $ */
  72.   /* Copyright    Massachusetts Institute of Technology    1986    */
  73. --- 1,5 ----
  74.   #ifndef XLIBINT_H_NOT_AVAILABLE
  75. ! /* #include <X11/copyright.h> */
  76.   
  77.   /* $XConsortium: XGetHClrs.c,v 11.10 88/09/06 16:07:50 martin Exp $ */
  78.   /* Copyright    Massachusetts Institute of Technology    1986    */
  79. *** ./get/getx11/map_scan.c    Thu Aug 13 13:24:01 1992
  80. --- ../urt-3.1b/./get/getx11/map_scan.c    Thu Aug 27 15:51:33 1998
  81. ***************
  82. *** 2195,2201 ****
  83.       
  84.       if (!img->divN || !img->modN || !img->dm16 )
  85.       {
  86. !     fprintf( stderr, "%s: malloc error getting dither arrays\n");
  87.       exit (1);
  88.       }
  89.   }
  90. --- 2195,2201 ----
  91.       
  92.       if (!img->divN || !img->modN || !img->dm16 )
  93.       {
  94. !     fprintf( stderr, "%s: malloc error getting dither arrays\n", progname );
  95.       exit (1);
  96.       }
  97.   }
  98. *** ./get/getx11/x11_stuff.c    Fri May 13 21:05:44 1994
  99. --- ../urt-3.1b/./get/getx11/x11_stuff.c    Thu Aug 27 15:31:28 1998
  100. ***************
  101. *** 333,339 ****
  102.       
  103.       if (( img->pixmap != NULL && reallocate ) ||
  104.       ( img->pixmap != NULL && (img->pix_w < iw || img->pix_h < ih ))){
  105. !     free_X_pixmap( dpy, img->pixmap );
  106.       img->pixmap = NULL;
  107.       }
  108.       
  109. --- 333,339 ----
  110.       
  111.       if (( img->pixmap != NULL && reallocate ) ||
  112.       ( img->pixmap != NULL && (img->pix_w < iw || img->pix_h < ih ))){
  113. !     free_X_pixmap( img, img->pixmap );
  114.       img->pixmap = NULL;
  115.       }
  116.       
  117. *** ./lib/makefile.src    Wed Mar  4 14:32:53 1992
  118. --- ../urt-3.1b/./lib/makefile.src    Wed Aug 19 17:58:12 1998
  119. ***************
  120. *** 27,32 ****
  121. --- 27,35 ----
  122.       $(OPT_OBJS)
  123.   
  124.   LIBNAME = librle.a
  125. + #ifdef USE_SHARED_LIB
  126. + SHLIBNAME = librle.so
  127. + #endif
  128.   
  129.   # Just rebuild the object files.
  130.   objs: $(OBJS)
  131. ***************
  132. *** 36,41 ****
  133. --- 39,45 ----
  134.   #  is more useful to have a non-debug version than nothing at all.)
  135.   # Do nothing if $(DEST) is empty (or not defined)
  136.   install: buildlib
  137. + #ifndef NO_STATIC_LIB
  138.       @sh -c "if test '$(DEST)x' != x ; then \
  139.           echo cp $(LIBNAME) $(DEST)/$(LIBNAME) ; \
  140.           cp $(LIBNAME) $(DEST)/$(LIBNAME) ; \
  141. ***************
  142. *** 60,69 ****
  143. --- 64,91 ----
  144.       else \
  145.           true ; \
  146.       fi"
  147. + #endif
  148. + #ifdef USE_SHARED_LIB
  149. +     @sh -c "if test '$(DEST)x' != x ; then \
  150. +         echo cp $(SHLIBVERSNAME) $(DEST)/ ; \
  151. +         cp $(SHLIBVERSNAME) $(DEST)/ ; \
  152. +         ln -s $(SHLIBVERSNAME) $(DEST)/$(SHLIBNAME) ; \
  153. +         if test -d $(DEST)/debug ; then \
  154. +             echo cp $(SHLIBVERSNAME) $(DEST)/debug/ ; \
  155. +             cp $(SHLIBVERSNAME) $(DEST)/debug/ ; \
  156. +             ln -s $(SHLIBVERSNAME) $(DEST)/debug/$(SHLIBNAME) ; \
  157. +         else \
  158. +             true ; \
  159. +         fi ; \
  160. +     else \
  161. +         true ; \
  162. +     fi"
  163. + #endif
  164.       touch install
  165.   
  166.   # Rebuild the library from all the .o files.
  167.   buildlib: $(OBJS)
  168. + #ifndef NO_STATIC_LIB
  169.       -rm -f $(LIBNAME)
  170.       ar rc $(LIBNAME)
  171.       ar q $(LIBNAME) $(OBJS)
  172. ***************
  173. *** 70,75 ****
  174. --- 92,103 ----
  175.   #ifndef NO_RANLIB
  176.       ranlib $(LIBNAME)
  177.   #endif
  178. + #endif
  179. + #ifdef USE_SHARED_LIB
  180. +     -rm -f $(SHLIBNAME) $(SHLIBVERSNAME)
  181. +     $(CC) -o $(SHLIBVERSNAME) $(LDFLAGS) $(SHLIB_FLAGS) $(OBJS) $(DIRLIBS) ${EXTRALIBS}
  182. +     ln -s $(SHLIBVERSNAME) $(SHLIBNAME)
  183. + #endif
  184.       touch buildlib
  185.   
  186.   # Clean up installed stuff and binaries
  187. ***************
  188. *** 78,85 ****
  189.           echo rm -f $(DEST)/$(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
  190.           rm -f $(DEST)/$(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
  191.       else \
  192. !         echo rm -f $(LIBNAME) ; \
  193. !         rm -f $(LIBNAME) ; \
  194.       fi
  195.       -rm -f install
  196.   
  197. --- 106,113 ----
  198.           echo rm -f $(DEST)/$(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
  199.           rm -f $(DEST)/$(LIBNAME) $(DEST)/debug/$(LIBNAME) ; \
  200.       else \
  201. !         echo rm -f $(LIBNAME) $(SHLIBNAME) $(SHLIBVERSNAME) ; \
  202. !         rm -f $(LIBNAME) $(SHLIBNAME) $(SHLIBVERSNAME) ; \
  203.       fi
  204.       -rm -f install
  205.   
  206. ***************
  207. *** 87,94 ****
  208.   clean:
  209.       -rm -f *.o
  210.       -@if test x$(DEST) != x ; then \
  211. !         echo rm -f $(LIBNAME) ; \
  212. !         rm -f $(LIBNAME) ; \
  213.       else \
  214.           true ; \
  215.       fi
  216. --- 115,122 ----
  217.   clean:
  218.       -rm -f *.o
  219.       -@if test x$(DEST) != x ; then \
  220. !         echo rm -f $(LIBNAME) $(SHLIBNAME) $(SHLIBVERSNAME) ; \
  221. !         rm -f $(LIBNAME) $(SHLIBNAME) $(SHLIBVERSNAME) ; \
  222.       else \
  223.           true ; \
  224.       fi
  225. *** ./tools/rlesetbg.c    Thu Jan 23 15:44:33 1992
  226. --- ../urt-3.1b/./tools/rlesetbg.c    Thu Aug 27 15:23:36 1998
  227. ***************
  228. *** 74,80 ****
  229.       if ( backcolor_flag && nback < in_hdr.ncolors )
  230.       {
  231.           fprintf( stderr, "%s: Need %d colors, only %d supplied.\n",
  232. !              in_hdr.ncolors, nback );
  233.           exit(-1);
  234.       }
  235.       (void)rle_hdr_cp( &in_hdr, &out_hdr );
  236. --- 74,80 ----
  237.       if ( backcolor_flag && nback < in_hdr.ncolors )
  238.       {
  239.           fprintf( stderr, "%s: Need %d colors, only %d supplied.\n",
  240. !              cmd_name( argv ), in_hdr.ncolors, nback );
  241.           exit(-1);
  242.       }
  243.       (void)rle_hdr_cp( &in_hdr, &out_hdr );
  244. *** ./tools/mergechan.c    Thu Jan 23 11:25:19 1992
  245. --- ../urt-3.1b/./tools/mergechan.c    Thu Aug 27 15:21:33 1998
  246. ***************
  247. *** 79,85 ****
  248.           {
  249.           fprintf( stderr,
  250.            "%s: Images %d and %d are both from the standard input\n",
  251. !              stdin_used, i );
  252.           exit( -1 );
  253.           }
  254.       }
  255. --- 79,85 ----
  256.           {
  257.           fprintf( stderr,
  258.            "%s: Images %d and %d are both from the standard input\n",
  259. !              cmd_nm, stdin_used, i );
  260.           exit( -1 );
  261.           }
  262.       }
  263. *** ./tools/makefile.src    Tue Jan 28 13:47:42 1992
  264. --- ../urt-3.1b/./tools/makefile.src    Wed Aug 19 15:50:01 1998
  265. ***************
  266. *** 82,88 ****
  267.   # rleClock has it's own directory, must be built special
  268.   
  269.   rleClock.out: clock/font.c clock/font.h clock/font.src clock/rleClock.c
  270. !     (cd clock ; make)
  271.   
  272.   # Incremental install, copies everything ("$?") since last install to DEST dir.
  273.   install: $(PGMS) install-pgm
  274. --- 82,88 ----
  275.   # rleClock has it's own directory, must be built special
  276.   
  277.   rleClock.out: clock/font.c clock/font.h clock/font.src clock/rleClock.c
  278. !     (cd clock ; $(MAKE) $(MFLAGS))
  279.   
  280.   # Incremental install, copies everything ("$?") since last install to DEST dir.
  281.   install: $(PGMS) install-pgm
  282. *** ./makefile.src    Fri Jun  7 11:58:13 1991
  283. --- ../urt-3.1b/./makefile.src    Wed Aug 19 15:48:29 1998
  284. ***************
  285. *** 17,23 ****
  286.   # clean deletes all but source, pristine (below) deletes installed stuff, too
  287.   default clean: doit
  288.       @for d in $(DIRS) ; do \
  289. !         ( cd $$d ; echo make $@ on $$d ; make $(MFLAGS) $@ ) ; \
  290.       done
  291.   
  292.   # install puts library, binaries and documentation into global location
  293. --- 17,23 ----
  294.   # clean deletes all but source, pristine (below) deletes installed stuff, too
  295.   default clean: doit
  296.       @for d in $(DIRS) ; do \
  297. !         ( cd $$d ; echo make $@ on $$d ; $(MAKE) $(MFLAGS) $@ ) ; \
  298.       done
  299.   
  300.   # install puts library, binaries and documentation into global location
  301. ***************
  302. *** 29,35 ****
  303.   
  304.   install $(MAKE_TARGET) pristine depend:: doit
  305.       @for d in $(ALLDIRS) ; do \
  306. !         ( cd $$d ; echo make $@ on $$d ; make $(MFLAGS) $@ ) ; \
  307.       done
  308.   
  309.   
  310. --- 29,35 ----
  311.   
  312.   install $(MAKE_TARGET) pristine depend:: doit
  313.       @for d in $(ALLDIRS) ; do \
  314. !         ( cd $$d ; echo make $@ on $$d ; $(MAKE) $(MFLAGS) $@ ) ; \
  315.       done
  316.   
  317.   
  318. *** ./makefile.tlr    Tue Aug  4 13:17:57 1992
  319. --- ../urt-3.1b/./makefile.tlr    Wed Aug 19 15:47:46 1998
  320. ***************
  321. *** 7,13 ****
  322.       @sh -c "if test 'x$(DIRS)' != x ; then eval \
  323.           'set -e ; for dir in $(DIRS) ; do \
  324.               (cd \$$dir ; echo Make ${HERE}\$$dir ; \
  325. !                  make $(MFLAGS) $(DIRMFLAGS) ) ; \
  326.           done' ; \
  327.         else \
  328.           true ; \
  329. --- 7,13 ----
  330.       @sh -c "if test 'x$(DIRS)' != x ; then eval \
  331.           'set -e ; for dir in $(DIRS) ; do \
  332.               (cd \$$dir ; echo Make ${HERE}\$$dir ; \
  333. !                  $(MAKE) $(MFLAGS) $(DIRMFLAGS) ) ; \
  334.           done' ; \
  335.         else \
  336.           true ; \
  337. ***************
  338. *** 46,52 ****
  339.       @sh -c "if test 'x$(DIRS)' != x  ; then eval \
  340.           'for dir in $(DIRS) ; do \
  341.               (cd \$$dir ; echo Install ${HERE}\$$dir ; \
  342. !              make $(MFLAGS) $(DIRMFLAGS) install) ; \
  343.           done' ; \
  344.         else \
  345.           true ; \
  346. --- 46,52 ----
  347.       @sh -c "if test 'x$(DIRS)' != x  ; then eval \
  348.           'for dir in $(DIRS) ; do \
  349.               (cd \$$dir ; echo Install ${HERE}\$$dir ; \
  350. !              $(MAKE) $(MFLAGS) $(DIRMFLAGS) install) ; \
  351.           done' ; \
  352.         else \
  353.           true ; \
  354. ***************
  355. *** 105,111 ****
  356.           'for dir in $(ALLDIRS); do \
  357.           if test -d $$dir ; then \
  358.               (cd $$dir; echo Make ${HERE}$$dir pristine ; \
  359. !              make $(MFLAGS) pristine); \
  360.           else \
  361.               true; \
  362.           fi; \
  363. --- 105,111 ----
  364.           'for dir in $(ALLDIRS); do \
  365.           if test -d $$dir ; then \
  366.               (cd $$dir; echo Make ${HERE}$$dir pristine ; \
  367. !              $(MAKE) $(MFLAGS) pristine); \
  368.           else \
  369.               true; \
  370.           fi; \
  371. ***************
  372. *** 124,130 ****
  373.           'for dir in $(ALLDIRS); do \
  374.           if test -d $$dir ; then \
  375.               (cd $$dir; echo Clean ${HERE}$$dir ; \
  376. !              make $(MFLAGS) clean); \
  377.           else \
  378.               true; \
  379.           fi; \
  380. --- 124,130 ----
  381.           'for dir in $(ALLDIRS); do \
  382.           if test -d $$dir ; then \
  383.               (cd $$dir; echo Clean ${HERE}$$dir ; \
  384. !              $(MAKE) $(MFLAGS) clean); \
  385.           else \
  386.               true; \
  387.           fi; \
  388. *** ./config/urt    Wed Jul 15 15:47:15 1992
  389. --- ../urt-3.1b/./config/urt    Thu Aug 27 15:52:55 1998
  390. ***************
  391. *** 29,35 ****
  392.   ##define SUNTOOLS       For Suns running SunTools.
  393.   ##define TAAC1        Suns with TAAC-1 board.
  394.   ##define X10        X10 Window system.
  395. ! ##define X11            X11 Window system.
  396.   
  397.   # Conversion programs
  398.   #define ABEKASA60    Abekas A60 conversions.
  399. --- 29,35 ----
  400.   ##define SUNTOOLS       For Suns running SunTools.
  401.   ##define TAAC1        Suns with TAAC-1 board.
  402.   ##define X10        X10 Window system.
  403. ! #define X11            X11 Window system.
  404.   
  405.   # Conversion programs
  406.   #define ABEKASA60    Abekas A60 conversions.
  407. ***************
  408. *** 39,51 ****
  409.   #define CUBICOMP    Cubicomp conversions.
  410.   #define GIF        GIF image conversions.
  411.   #define GRAYFILES    Grayscale conversions.
  412. ! ##define SGICONV    SGI Image conversions.
  413.   #define MACPAINT    Macpaint conversions.
  414. ! ##define PBMPLUS    PBMPLUS conversions.
  415.   #define POSTSCRIPT    Postscript conversions.
  416.   ##define SUNRASTER    For Sun raster conversions.
  417.   #define TARGA        Targa format conversions.
  418. ! ##define TIFF        TIFF image conversions.
  419.   #define TIFF2p4        Define if libtiff is version 2.4 or greater
  420.   #define VICAR        VICAR image conversions.
  421.   #define WASATCH        Wasatch Paintbox conversions.
  422. --- 39,51 ----
  423.   #define CUBICOMP    Cubicomp conversions.
  424.   #define GIF        GIF image conversions.
  425.   #define GRAYFILES    Grayscale conversions.
  426. ! #define SGICONV     SGI Image conversions.
  427.   #define MACPAINT    Macpaint conversions.
  428. ! #define PBMPLUS     PBMPLUS conversions.
  429.   #define POSTSCRIPT    Postscript conversions.
  430.   ##define SUNRASTER    For Sun raster conversions.
  431.   #define TARGA        Targa format conversions.
  432. ! #define TIFF        TIFF image conversions.
  433.   #define TIFF2p4        Define if libtiff is version 2.4 or greater
  434.   #define VICAR        VICAR image conversions.
  435.   #define WASATCH        Wasatch Paintbox conversions.
  436. ***************
  437. *** 65,71 ****
  438.   ##define HPUX800CC    HP 9000/800 running HP-UX.
  439.   ##define IBMR6000CC    IBM RS6000.
  440.   ##define IRIS4DCC    Silicon Graphics Iris 4D.
  441. ! ##define IRISCC        Silicon Graphics Iris 2400/3000.
  442.   ##define SUNCC        Sun 3 computers.
  443.   ##define 386IXCC        SVr3 386/ix 2.2
  444.   
  445. --- 65,71 ----
  446.   ##define HPUX800CC    HP 9000/800 running HP-UX.
  447.   ##define IBMR6000CC    IBM RS6000.
  448.   ##define IRIS4DCC    Silicon Graphics Iris 4D.
  449. ! #define IRISCC        Silicon Graphics Iris 2400/3000.
  450.   ##define SUNCC        Sun 3 computers.
  451.   ##define 386IXCC        SVr3 386/ix 2.2
  452.   
  453. ***************
  454. *** 77,83 ****
  455.   
  456.   ##define ABEKAS_PAL    Convert to PAL format in Abekas A60 tool.
  457.   ##define ALL_MAN    Print/install all man pages.
  458. ! ##define CONST_DECL    If your compiler understands 'const' (ANSI)
  459.   ##define FILE_NAME_14_CHARS    If filenames are limited to 14 characters.
  460.   ##define HAVE_CPROTO    If you have the cproto command.  Not normally required.
  461.   ##define NEED_BSTRING    Your libc does not have bcopy or bzero (Sys V probably)
  462. --- 77,83 ----
  463.   
  464.   ##define ABEKAS_PAL    Convert to PAL format in Abekas A60 tool.
  465.   ##define ALL_MAN    Print/install all man pages.
  466. ! #define CONST_DECL    If your compiler understands 'const' (ANSI)
  467.   ##define FILE_NAME_14_CHARS    If filenames are limited to 14 characters.
  468.   ##define HAVE_CPROTO    If you have the cproto command.  Not normally required.
  469.   ##define NEED_BSTRING    Your libc does not have bcopy or bzero (Sys V probably)
  470. ***************
  471. *** 84,107 ****
  472.   ##define NEED_GETOPT    Your libc does not have the getopt function (BSD)
  473.   ##define NEED_RENAME    Your libc does not have the rename function (Sys V)
  474.   ##define NEED_SETLINEBUF    Your stdio does not have setlinebuf (Sys V)
  475. ! ##define NO_MAKE_MAKEFILE    If you don't want a "makefile" action.
  476.   ##define NO_OPEN_PIPES    If file "names" "|..." and "*.Z" are not special.
  477. ! ##define NO_RANLIB    You don't have the ranlib program (Sys V)
  478.   ##define NO_ITIMER    You don't have setitimer (e.g., Cray 2).
  479.   ##define NO_TOOLS    Don't build tool directory.
  480.   ##define STDIO_NEEDS_BINARY    Your fopen() needs "b" specified for binary io
  481. ! ##define USE_TIME_H    You need to include time.h for time_t (Sys V)
  482. ! ##define SYS_V_SETPGRP    Your system has the SysV setpgrp() call.
  483. ! ##define USE_L_FLAG    Use -Llibdir -lrle instead of libdir/liblre.a.
  484. ! ##define USE_PROTOTYPES    Declare library functions with ANSI-C prototypes.
  485. ! ##define USE_RANDOM    Your libc has the BSD random() function.
  486. ! ##define USE_STDARG    Use 'stdarg' instead of 'varargs' (ANSI).
  487. ! ##define USE_STDLIB_H    You have "stdlib.h".
  488. ! ##define USE_UNISTD_H    You have "unistd.h".
  489.   ##define USE_STRING_H    You have "string.h", not "strings.h"
  490. ! ##define VOID_STAR    Your C compiler understands the 'void *' declaration.
  491. ! ##define USE_XLIBINT_H    You have the include file <X11/Xlibint.h>.
  492. ! ##define X_SHARED_MEMORY    You have the XShm extension.
  493.   
  494.   # DEST is where all programs will be put.  Can be overridden for specific
  495.   # directories below.
  496. --- 84,109 ----
  497.   ##define NEED_GETOPT    Your libc does not have the getopt function (BSD)
  498.   ##define NEED_RENAME    Your libc does not have the rename function (Sys V)
  499.   ##define NEED_SETLINEBUF    Your stdio does not have setlinebuf (Sys V)
  500. ! #define NO_MAKE_MAKEFILE    If you don't want a "makefile" action.
  501.   ##define NO_OPEN_PIPES    If file "names" "|..." and "*.Z" are not special.
  502. ! #define NO_RANLIB    You don't have the ranlib program (Sys V)
  503.   ##define NO_ITIMER    You don't have setitimer (e.g., Cray 2).
  504. + #define NO_STATIC_LIB    You don't want an archived library, librle.a.
  505.   ##define NO_TOOLS    Don't build tool directory.
  506.   ##define STDIO_NEEDS_BINARY    Your fopen() needs "b" specified for binary io
  507. ! #define USE_TIME_H    You need to include time.h for time_t (Sys V)
  508. ! #define SYS_V_SETPGRP    Your system has the SysV setpgrp() call.
  509. ! #define USE_L_FLAG    Use -Llibdir -lrle instead of libdir/liblre.a.
  510. ! #define USE_PROTOTYPES    Declare library functions with ANSI-C prototypes.
  511. ! #define USE_RANDOM    Your libc has the BSD random() function.
  512. ! #define USE_SHARED_LIB    You want to build librle.so
  513. ! #define USE_STDARG    Use 'stdarg' instead of 'varargs' (ANSI).
  514. ! #define USE_STDLIB_H    You have "stdlib.h".
  515. ! #define USE_UNISTD_H    You have "unistd.h".
  516.   ##define USE_STRING_H    You have "string.h", not "strings.h"
  517. ! #define VOID_STAR    Your C compiler understands the 'void *' declaration.
  518. ! #define USE_XLIBINT_H    You have the include file <X11/Xlibint.h>.
  519. ! #define X_SHARED_MEMORY    You have the XShm extension.
  520.   
  521.   # DEST is where all programs will be put.  Can be overridden for specific
  522.   # directories below.
  523. ***************
  524. *** 121,132 ****
  525.   # library, include files, or manual pages, respectively, to be
  526.   # installed anywhere.
  527.   
  528. ! ##defpath MAN_DEST /usr/site/man
  529. ! ##defpath LIB_DEST
  530.   ##defpath GET_DEST
  531.   ##defpath CNV_DEST
  532.   ##defpath TOOLS_DEST
  533. ! ##defpath INC_DEST
  534.   
  535.   # Control of formatting.  If your "roff" program needs to be piped to
  536.   # something to print, set ROFFPIPE to (e.g.) "| lpr"
  537. --- 123,134 ----
  538.   # library, include files, or manual pages, respectively, to be
  539.   # installed anywhere.
  540.   
  541. ! #defpath MAN_DEST /usr/freeware/man
  542. ! #defpath LIB_DEST /usr/freeware/lib
  543.   ##defpath GET_DEST
  544.   ##defpath CNV_DEST
  545.   ##defpath TOOLS_DEST
  546. ! #defpath INC_DEST /usr/freeware/include
  547.   
  548.   # Control of formatting.  If your "roff" program needs to be piped to
  549.   # something to print, set ROFFPIPE to (e.g.) "| lpr"
  550. ***************
  551. *** 145,153 ****
  552.   #ifdef CGM
  553.   # Path to directory where CGM library and include files may be found
  554.   # Absolute or relative to URT root
  555. ! #defpath CGMDIR 
  556. ! INCCGM = -I$(CGMDIR)
  557. ! LIBCGM = $(CGMDIR)/libcgm.a
  558.   #endif
  559.   
  560.   #ifdef CX3D
  561. --- 147,155 ----
  562.   #ifdef CGM
  563.   # Path to directory where CGM library and include files may be found
  564.   # Absolute or relative to URT root
  565. ! #defpath CGMDIR /usr/freeware
  566. ! INCCGM = -I$(ROOT)/$(CGMDIR)/include
  567. ! LIBCGM = -lralcgm
  568.   #endif
  569.   
  570.   #ifdef CX3D
  571. ***************
  572. *** 181,187 ****
  573.   #endif
  574.   
  575.   #ifdef IRIS
  576. ! LIBIRIS = -Zg
  577.   #endif
  578.   
  579.   #ifdef IRIS4D
  580. --- 183,189 ----
  581.   #endif
  582.   
  583.   #ifdef IRIS
  584. ! LIBIRIS = 
  585.   #endif
  586.   
  587.   #ifdef IRIS4D
  588. ***************
  589. *** 191,203 ****
  590.   #ifdef PBMPLUS
  591.   # PBMDIR should refer to the root of your PBM source tree.
  592.   # If relative, it's relative to root of URT source tree.
  593. ! #defpath PBMDIR
  594.   
  595. ! INCPBMPLUS = -I$(PBMDIR) -I$(PBMDIR)/ppm -I$(PBMDIR)/pgm -I$(PBMDIR)/pbm
  596. ! LIBPBMPLUS = $(PBMDIR)/ppm/libppm.a $(PBMDIR)/pgm/libpgm.a \
  597. !         $(PBMDIR)/pbm/libpbm.a 
  598.   #endif
  599.   
  600.   #ifdef SUNRASTER|SUNTOOLS|TAAC1
  601.   LIBSUNTOOLS_COM = -lsuntool -lsunwindow -lpixrect
  602.   #endif
  603. --- 193,209 ----
  604.   #ifdef PBMPLUS
  605.   # PBMDIR should refer to the root of your PBM source tree.
  606.   # If relative, it's relative to root of URT source tree.
  607. ! #defpath PBMDIR 
  608.   
  609. ! INCPBMPLUS = 
  610. ! LIBPBMPLUS = -lppm
  611.   #endif
  612.   
  613. + #ifdef SGICONV
  614. + INCGL = -I$(ROOT)/usr/include/gl
  615. + LIBGL = -limage
  616. + #endif
  617.   #ifdef SUNRASTER|SUNTOOLS|TAAC1
  618.   LIBSUNTOOLS_COM = -lsuntool -lsunwindow -lpixrect
  619.   #endif
  620. ***************
  621. *** 216,224 ****
  622.   
  623.   #ifdef TIFF
  624.   # Location of tiff library and include files.  Relative to URT root directory.
  625. ! #defpath TIFFDIR
  626. ! INCTIFF = -I$(TIFFDIR)
  627. ! LIBTIFF = $(TIFFDIR)/libtiff.a
  628.   #endif
  629.   
  630.   #ifdef X10
  631. --- 222,230 ----
  632.   
  633.   #ifdef TIFF
  634.   # Location of tiff library and include files.  Relative to URT root directory.
  635. ! #defpath TIFFDIR 
  636. ! INCTIFF = 
  637. ! LIBTIFF = -ltiff
  638.   #endif
  639.   
  640.   #ifdef X10
  641. ***************
  642. *** 229,232 ****
  643. --- 235,244 ----
  644.   #ifdef X11
  645.   LIBX11 = -lX11
  646.   INCX11 = 
  647. + #endif
  648. + #ifdef USE_SHARED_LIB
  649. + SHLIBVERS = 3.1
  650. + SHLIBVERSNAME = $(SHLIBNAME).$(SHLIBVERS)
  651. + SHLIB_FLAGS = -shared -Wl,-soname,$(SHLIBNAME) -Wl,-set_version,$(SHLIBVERS)
  652.   #endif
  653.